/*
 * ledEffects.h
 *
 *  Created on: Feb 1, 2020
 *      Author: Yannick
 */

#ifndef LEDS_H_
#define LEDS_H_
#include "main.h"
typedef struct Ledstruct{
	uint32_t tick;
	uint16_t period;
	int32_t blinks;
	GPIO_TypeDef* port;
	uint16_t pin;
} Ledstruct_t;


void blinkLed1(uint16_t period,uint16_t blinks);
void blinkLed2(uint16_t period,uint16_t blinks);

void updateLeds();


#endif /* LEDEFFECTS_H_ */
